package com.zygh.policeasset.service;

import com.zygh.policeasset.mapper.ProjectApprovalStepsMapper;
import com.zygh.policeasset.pojo.ProjectApprovalSteps;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/service/ProjectApprovalStepsService.class */
public class ProjectApprovalStepsService {
    @Autowired
    ProjectApprovalStepsMapper projectApprovalStepsMapper;

    public List<ProjectApprovalSteps> findByType(String stepsType) {
        return this.projectApprovalStepsMapper.findByType(stepsType);
    }

    public int add(ProjectApprovalSteps projectApprovalSteps) {
        return this.projectApprovalStepsMapper.add(projectApprovalSteps);
    }

    public int update(ProjectApprovalSteps projectApprovalSteps) {
        return this.projectApprovalStepsMapper.update(projectApprovalSteps);
    }

    public int delete(String stepsType) {
        return this.projectApprovalStepsMapper.delete(stepsType);
    }
}